
@import "h5bp_reset";
@import "base";
@import "compass";

/* ==|== primary styles =====================================================
   Author: 
   ========================================================================== */
img { max-width: 100%;}

a {
	color: hsl(0, 0%, 75%);
	text-decoration: none;
	&:hover { color: hsl(0,0,30%); }
}
#content-container a {
	color: hsl(120, 20%, 25%);
	text-decoration: none;
	&:hover { color: hsl(0,0,50%); }
}
h3 {
    margin-bottom: 0;
}
ul {
    list-style: none;
}
#nav-container, #player-container, #content-container {
	max-width: 90%; margin: 0.5em auto; padding: 0 0;
}
#logo { width: 40%; margin: 0 auto; }

.rounded {
	@include border-radius();
	@include background-image(linear-gradient(top, #333333, #111));
	@include box-shadow();
}
nav { 
	margin: 1em 0; 
	@include pie-clearfix(); 
	position: relative;

}
nav .dd {
 	display: block;
 	float: left;
 	position: relative;
 	width: 49.99%;
 	height: 2em;
 	text-align: center;
 	padding-top: 0.5em;
 }
/*nav .dd {*/
	/*display: table;*/
	/*float: left;*/
	/*position: relative;*/
	/*width: 49.99%;*/
	/*height: 3em;*/
	/*text-align: center;*/
/*}*/
nav .dd:last-child {
	float: right;
}
nav .rounded > a {
	text-decoration: none; 
	display: block;
	vertical-align: middle;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.95);
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	letter-spacing: 0.1em;
	&:hover { color: hsl(0,0,30%); }
}
.dd-menu {
	display: none;
	position: absolute;
	background-color: #000;
	top: 100%;
	right: 0%;
	width: 100%;
	z-index: 30;
	@include border-radius();
	@include background-image(linear-gradient(top, #333333, #111));
	@include box-shadow();
}
.open .dd-menu {
	display: block;	
}
.dd-menu li {
    padding-top: 0.3em;
    height: 1.6em;
}
#search-container {
    float: right;
    width: 100%;
    margin-top: 1em;
}
#search .inp {
    float: left;
	width: 72%;
	margin-bottom: 1em;
}
#search .btn {
    float: right;
    height: 26px;
    width: 24%;
}
#video-container {
	position: relative;
	padding-bottom: 56.25%; // This is for 16:9 videos
	height: 0;
	overflow: hidden;
}
#video-container iframe, 
#video-container object, 
#video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#show-hide-player {
    float: left;
	margin: -0.3em 0 0 3%;
	padding: 0.5em;
	width: 40%;
	text-align: center;
}
#wrong-video {
    float: right;
	margin: -0.3em 3% 0 0;
	padding: 0.5em;
	width: 40%;
	text-align: center;
}
#playlist-controls {
	margin: 1em auto -0.7em;
	text-align: center;
}
#playlist-save {
	height: 1.5em;
	padding: 0.5em;
	float: left;
	margin-left: 3%;
	width: 40%;
}
#playlist-clear {
	height: 1.5em;
	padding: 0.5em;
	float: right;
	margin-right: 3%;
	width: 40%;
}
.playing div {
	background: black;
}
.band-pic {
	max-width: 150px;
	margin: 0 auto;
}
section {
	margin-top: 1em;
}
.likebutton {
    background-color: hsl(120, 11%, 46%) !important;
}
.dislikebutton {
    background-color: hsl(3, 11%, 46%) !important;
}
.like-clicked {
    background-color: hsl(120, 40%, 46%) !important;
    color: hsl(0,0%,0%) !important;
}
.dislike-clicked {
    background-color: hsl(3, 57%, 46%) !important;
    color: hsl(0,0%,0%) !important;
}
.songlist {
	width:100%;
	max-width:100%;
	margin: 1em auto;
}
.songlist ul {
	list-style: none;
	padding:  0;
}
.songlist a {
	color: hsl(0, 0%, 75%) !important;
}
.songlist a:hover, .songlist div:hover a {
	color: black !important;
	text-decoration: none;
}
.songlist li {
	max-width:100%;
	@include pie-clearfix; 
	/*-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;*/
	border: 1px solid hsl(0, 0%, 15%);
	background-color: #222222; background-repeat: repeat-x; 
	background-image: linear-gradient(top, #333333, #222222); 
	background-image: -o-linear-gradient(top, #333333, #222222); 
	background-image: linear-gradient(top, #333333, #222222);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); 
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); 
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.songlist div {
	display: block;
	min-height: 1.6em;
    color: hsl(0, 0%, 75%);
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.songlist div:hover {
    background-color: hsl(0, 0%, 75%);
}
.songlist a.bandname {
	margin-left: 1em;
	//float: left;
	display: inline-block;
	//width: 46%;
	font-weight: normal;
}
.songlist i {
	margin-right: 1em;
	display: inline-block;
	float: right;
	text-align: right;
}
.songlist .delete-track {
	display: none;
}
#playlist .delete-track {
	display: inline;
}

/*#playlist .track-position {
	display: none;
}*/

.track-position {
	display: inline-block;
	width: 1em;
}

#playlist {
	min-height: 3em;
}
#loading {
	margin: 2em auto;
}
.form-separator {
    margin-top: 1ex;
}

.index h4, .index img {
    display: inline-block;
}

/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
#logo {
	width: 20%;
	float: left;
	margin: -1% 0 0 -1%;
}
nav {
	width: 70%;
	float: right;
}
#search input {
	float: right;
	width: 68.5%;
	margin-top: 2em;
}
.band-pic {
	float: left;
	margin-right: 0.6em;
}
}

@media only screen and (min-width: 768px) {
/* Style adjustments for viewports 768px and over go here */
#logo {
	width: 20%;
	float: left;
	margin: 0;
}
#nav-container {
	width: 57%;
	float: right;
	margin-right: 2%;
}
#search input {
	float: right;
	width: 32.5%;
	margin-top: 1em;
}
#content-container {
	width: 57%;
	float: right;	
	margin-right: 2%;
}
#player-container {
	width: 38%;
	position: fixed;
	max-height: 97%;
	height: 97%;
	overflow-y: scroll;
}
#playlist {
	max-height: 100%;
	min-height: 3em;
	/*overflow-y: scroll;*/
	height: 60%;
}
}